#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>

int main()
{
    long int n;
    float c, english, math;
    scanf("%ld;%f,%f,%f", &n, &c, &math, &english);
    printf("The each subject score of No. %ld is %.2f, %.2f, %.2f.", n, c, math, english);
    return 0;
}